home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
UTIL
/
MEMORY
/
OLD
/
MEM208SRC
/
FSLib
/
h
/
ModuleWrap
< prev
next >
Wrap
Text File
|
1993-08-22
|
1KB
|
31 lines
/* Original code (c) Acorn Computers Ltd, 1992-3 */
/* $Id: h.ModuleWrap 3.1 93/03/09 23:33:12 brian Exp $ */
/*
These routines get used by the cmhg generated header.
*/
#ifndef __MODULEWRAP_H
#define __MODULEWRAP_H
extern _kernel_oserror *fs_command( char *, int, int, void * );
extern _kernel_oserror *fs_swi( int, _kernel_swi_regs *, void * );
extern void fs_service( int, _kernel_swi_regs *, void * );
extern _kernel_oserror *fs_initialise( char *, int, void * );
extern void fs_terminate( void );
typedef enum RETURNMETHOD { VIASTACK, VIAR14 } RETURNMETHOD;
extern RETURNMETHOD event_handler( _kernel_swi_regs *, void * );
extern RETURNMETHOD upcall_handler( _kernel_swi_regs *, void * );
extern void *private_word;
#define Service_FSRedeclare 0x40
#define Service_StartFiler 0x4B
#define Service_StartedFiler 0x4C
#define Service_Reset 0x27
#define Service_FilerDying 0x4F
#define OSModule_Enter 2
#define OSModule_Claim 6
#define OSModule_Free 7
#define FSControl_AddFilingSystem 12
#define FSControl_SelectFilingSystem 14
#define FSControl_RemoveFilingSystem 16
#endif